<?php
//获取参数
$osh_id = $route->bodyParams["osh_id"];//主键ID

$whereArr = [
    "osh_id" => $osh_id
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_student_homework",$whereArr,false);

//返回成功结果
$response->responseData( true, $rsData );